-- GENERATED SPELL FOR [Vile Tutor] --


function spell0_8548(pUnit, Event) --@Shadow Shield,n/a--
pUnit:FullCastSpellOnTarget(12040,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8548', 30343, 1)
end

function Sorts_8548(pUnit, Event)
local choix_sorts_8548 = math.random(0, 0)
if choix_sorts_8548 == 0 then
pUnit:RegisterEvent('spell0_8548', 1, 1)
end
end

function mob8548_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8548', math.random(1500, 3000), 1)
end

function mob8548_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8548_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8548_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8548, 1, 'mob8548_Action')
RegisterUnitEvent(8548, 2, 'mob8548_Leave')
RegisterUnitEvent(8548, 3, 'mob8548_Kill')
RegisterUnitEvent(8548, 4, 'mob8548_Die')
